package com.lecyon.farm.vo.data;

import com.lecyon.farm.vo.base.BaseViewVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author Yao Zheng
 * @Date 2020/5/19 6:56
 */
public class DeviceAccessStatisticsVo extends BaseViewVo {

    @ApiModelProperty("区域名")
    @Getter
    @Setter
    private String name;

    @ApiModelProperty("接入数量")
    @Getter
    private String value;

    @ApiModelProperty("接入数量")
    private Integer deviceCount;

    public void setDeviceCount(Integer deviceCount) {
        this.deviceCount = deviceCount;
        this.value = String.valueOf(deviceCount);
    }

}
